﻿using Sundry.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Sundry.IBLL
{
    public interface IAdminLoginLogService:IBaseService<AdminLoginLog>
    {
        int AddEntity(AdminLoginLog entity, Admin admin);
        /// <summary>
        /// 用户登录日志列表
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="nowNumber">当前数字</param>
        /// <param name="pageSize">长度</param>
        /// <param name="rowCount">总行数</param>
        /// <returns>用户登录日志列表</returns>
        IQueryable<dynamic> LoadLogList(string userName, int nowNumber, int pageSize, out int rowCount);
    }
}
